package com.future.taglib

import java.util.Date
import java.text.SimpleDateFormat

class TaskSerialNumberTagLib {
  def taskSerialNumber = {
    def serialNumber
    def nowDate = new Date();
    SimpleDateFormat sf = new SimpleDateFormat("yyMMdd_HHmmss");
    serialNumber = "task_" + sf.format(nowDate)
    out << serialNumber
  }
}
